<h1>Listing order_examinations</h1>

<table>
  <tr>
    <th>Examination type</th>
    <th>Patient data</th>
  </tr>

<% @order_examinations.each do |order_examination| %>
  <tr>
    <td><%=h order_examination.examination_type_id %></td>
    <td><%=h order_examination.patient_data_id %></td>
    <td><%= link_to 'Show', order_examination %></td>
    <td><%= link_to 'Edit', edit_order_examination_path(order_examination) %></td>
    <td><%= link_to 'Resoult', add_resoult_url(:id => order_examination.id) %></td>
    <td><%= link_to 'Destroy', order_examination, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New order_examination', new_order_examination_path %>